<?php

/**
 * Settings form.
 *
 * @package    ProdAssistant
 * @subpackage form
 * @author     Paweł Świtalla
 * @version    SVN: $Id: sfDoctrineFormTemplate.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class SettingsForm extends BaseSettingsForm
{
  public function configure()
  {
    $this->useFields(array('name', 'description', 'defaultValue', 'settings_category_id'));
    $this->getWidget('name')->setLabel('Nazwa');
    $this->getWidget('description')->setLabel('Opis');
    $this->getWidget('defaultValue')->setLabel('Domyślnie');
    $this->getWidget('settings_category_id')->setLabel('Moduł');
  }
}
